]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
a11y: set again NO_AT_BRIDGE=1 before calling meta_init()
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 17 Sep 2014 16:44:33 +0000 (18:44 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 18 Sep 2014 13:37:10 +0000 (15:37 +0200)
It was removed on commit
70099872ab2a2bb5e78080348c6df9444b3a87bb
because it was thought to not be needed anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=736821

src/main.c

index f9fff243012b1597301c39cd8995dea8d1ceb0f7..65617d98f0891b48807f92638b72afb688bd1a0d 100644 (file)
@@ -424,7 +424,10 @@ main (int argc, char **argv)
   meta_set_wm_name (WM_NAME);
   meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
 
+  /* Prevent meta_init() from causing gtk to load the atk-bridge*/
+  g_setenv ("NO_AT_BRIDGE", "1", TRUE);
   meta_init ();
+  g_unsetenv ("NO_AT_BRIDGE");
 
   /* FIXME: Add gjs API to set this stuff and don't depend on the
    * environment.  These propagate to child processes.